<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link th:href="@{../css/shop.css}" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" th:href="@{../css/bootstrap.css}"/>
    <link th:href="@{../css/Sellerber.css}" type="text/css"  rel="stylesheet" />
    <link th:href="@{../css/bkg_ui.css}" type="text/css"  rel="stylesheet"  }/>
    <link  th:href="@{../font/css/font-awesome.min.css}"  rel="stylesheet" type="text/css"  />
    <script th:href="@{../js/jquery-1.9.1.min.js}" type="text/javascript" ></script>
    <script type="text/javascript" th:href="@{../js/Validform/Validform.min.js}"></script>
    <script type="text/javascript" th:href="@{../js/jquery.cookie.js}"></script>
    <script th:href="@{../js/shopFrame.js}" type="text/javascript"></script>
    <script th:href="@{../js/Sellerber.js}" type="text/javascript"></script>
    <script th:href="@{../js/layer/layer.js}" type="text/javascript"></script>
    <title>管理员列表</title>
</head>
<!--[if lt IE 9]>
<script th:href="@{../s/html5shiv.js}"></script>
<script th:href="@{../js/respond.min.js}"></script>
<script th:href="@{../js/css3-mediaqueries.js}"  type="text/javascript"></script>
<![endif]-->
<body>
<form action="" method="post">
<div class="compete_list">
    <table id="sample_table" class="table table_list table_striped table-bordered dataTable no-footer">
        <thead>
        <tr>
            <th class="center"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></th>
            <th>showTypeId</th>
            <th>typeName</th>
            <th>fatherId</th>
            <th>more1</th>
            <th class="hidden-480">more2</th>
            <th class="hidden-480">more3</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="showtype : ${showtypes}">
            <td class="center"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
            <td th:text="${showtype.showTypeId}">1</td>
            <td th:text="${showtype.typeName}">ds</td>
            <td  th:text="${showtype.fatherId}">2</td>
            <td th:text="${showtype.more1}"></td>
            <td th:text="${showtype.more2}"></td>
            <td th:text="${showtype.more3}"></td>
            <td><a th:href="@{/showTypecontroller/delete(id=${showtype.showTypeId})}" shiro:hasPermission="user:deleteType">删除</a></td>
        </tr>
        </tbody>


    </table>
    <div class="form-group">
        <div class="col-sm-2 control-label">
            <a href="/a" th:href="@{/showTypecontroller/a}" class="btn btn-info" shiro:hasPermission="user:addType">add</a>
        </div>
    </div>
</div>
</form>
</body>


</html>
<script>

</script>
